<div class="titulos">Categoria :: Alterar </div>
<div class="categorias form">
    <?php echo $this->Form->create('Categoria'); ?>
        <table id="tabela_mvc">
            <input type="hidden" id="CategoriaId" value="<?php echo $this->data['Categoria']['id']; ?>" name="data[Categoria][id]"/>
            <tr>
                <th>Descrição: </th>
                <td><input type="texto" class="validateRequired" id="Descricao" value="<?php echo $this->data['Categoria']['descricao']; ?>" size="50" maxlength="100" name="data[Categoria][descricao]"/></td>
            </tr>
            <tr>
                <td colspan="2" class="nobg">
                    <?php  
                        $url = "'".$html->url(array('action' => 'index'))."'"; 
                        echo $form->button(__("Voltar", true), array("class" => "botao", 'onclick' => 'location.href=' . $url, 'type' => 'button'));
                    ?>
                        <input type="submit" value="Salvar" class="botao" />
                </td>
            </tr>
        </table>
    
    </div>